import command.Anchor;
import command.Cmd;
import common.CompilException;
import common.ParseException;
import compil.CssClass;
import compil.Value;
import file.BaseFile;
import file.FileString;
import file.Files;

import java.io.IOException;

public class Main {

    public static void main(String[] args) throws ParseException, CompilException {
        /*try {
            new Files("./");
        } catch (IOException e) {
            e.printStackTrace();
        }

        Files.print();
        (new BaseFile()).print();*/

        /*for (File file : Files.getFiles()) {
            System.out.println("*********" + file.getFileAlias() + "**********");
            for (FileString fString : file.getStrings())
                System.out.println(fString.getOriginalString());

            System.out.println("=========" + file.getFileAlias() + "==========");
            for (Cmd tCmd : file.getCmds())
                print(1, tCmd);
        }*/

        Value.addStyle("green");
        Value.addStyle("blue");
        Value.addStyle("nprod");

        CssClass clazz=new CssClass();
        clazz.setAnchor((Anchor)(Cmd.getCommand(FileString.getFileString(null,0,"@@anc( q ww  ").get(0))));
    }

}
